home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.modula3,comp.lang.c++,comp.lang.java
- Path: ERA.COM!era!spencer
- From: spencer@ERA.COM (Spencer Allain)
- Subject: Re: Java closer to Modula-3 than to C++
- In-Reply-To: Louis-Dominique Dubeau's message of Fri, 01 Mar 1996 10: 30:46
- -0500
- Message-ID: <SPENCER.96Mar1111456@zorgon.ERA.COM>
- Sender: news@ERA.COM
- Organization: Engineering Research Associates, Vienna, VA
- References: <31308FE2.167E@sophia.inria.fr>
- <1996Feb26.192508.2614@friend.kastle.com>
- <nelsoni.825385012@rintintin.Colorado.EDU>
- <xn17mx9fnt6.fsf@renoir.cs.columbia.edu>
- <31371826.60F278B8@step.polymtl.ca>
- Date: Fri, 1 Mar 1996 16:14:56 GMT
-
- In article <31371826.60F278B8@step.polymtl.ca> Louis-Dominique Dubeau <ldd@step.polymtl.ca> writes:
-
- Blair MacIntyre wrote:
- > C++ give you all kinds of "control" and "power" by allowing you to
- > apparently do all kinds of variations and nit-picky things that allow
- > you to "optimize" your programs.
-
- This is the job of the compiler.
-
- > The most common reason I get for using C++, when I try to convince
- > people that they should learn Modula-3 instead, is that C++ gives them
- > more power and control.
-
- Have you heard about assembly? BTW, if for some reason there is
- something you have to do in C or assembly, you can call it from M3 code.
-
- > Modula-3 doesn't have constructors/destructors,
-
- Where's the problem?
-
- > GC is evil because it has lots of overhead,
-
- Can you support this affirmation?
-
- > you can do threads in C++,
-
- True but C++ does not have the nice mutex control statements of
- Modula-3.
-
- > no multiple inheritance
-
- Have you heard about aggregates. Besides I can't remember when was the
- last time I neede multiple inheritance.
-
- > C++ has exceptions now, etc etc.
-
- That's new.
-
- > People don't
- > seem to be as concerned about things like suitability to building
- > large programs, distributed programs, working programs, robust
- > programs, etc etc.
-
- This is why they go bankrupt.
-
- ldd
-
- Uhh... good answers, but Blair wasn't stating those things as his
- opinions; he was just reiterating what other people use as their
- "convincing" arguments as to why not to switch to Modula-3.
-
- -Spencer
-